package com.car.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface AdminServlet {
	
	/**
	 * 管理员登录
	 * @param request
	 * @param response
	 * @return
	 */
	public String login(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查看所有用户
	 * @param request
	 * @param response
	 * @return
	 */
	public String showUser(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 删除用户
	 * @param request
	 * @param response
	 * @return
	 */
	public String delUser(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 添加司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String addDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 删除司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String delDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 修改司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String modifyDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查询所有司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String queryDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 添加车辆
	 * @param request
	 * @param response
	 * @return
	 */
	public String addCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 删除车辆
	 * @param request
	 * @param response
	 * @return
	 */
	public String delCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 修改车辆
	 * @param request
	 * @param response
	 * @return
	 */
	public String modifyCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查询所有车辆
	 * @param request
	 * @param response
	 * @return
	 */
	public String queryCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 修改订单
	 * @param request
	 * @param response
	 * @return
	 */
	public String modifyOrder(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查询所有订单
	 * @param request
	 * @param response
	 * @return
	 */
	public String showAllorder(HttpServletRequest request, HttpServletResponse response);

}
